﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UI/Admin/Admin_Statistics.master" AutoEventWireup="true" CodeBehind="Chart_OSBrowser.aspx.cs" Inherits="WebApplication13.WebForm6" %>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">

 <script src="../../Scripts/Admin/jquery-1.6.4.js" type="text/javascript"></script>
   <script src="../../Scripts/Admin/highcharts.js" type="text/javascript"></script>
    <script src="../../Scripts/Admin/gray.js" type="text/javascript"></script>
    <script src="../../Scripts/Admin/Piechart.js" type="text/javascript"></script>
    
    <div id="oschart" style="position: absolute; left: 350px; top: 50px; width: 500px;
        height: 500px">
        <script type="text/javascript">
            var render = 'oschart';
            var title = 'User OS ';
            var data = [<% foreach (var item in data)
            {
                Response.Write(item);
                Response.Write(",");
            } %> ];
            $(document).ready(
   drawPieCharts(render, title, data)
 );
        </script>
    </div>
    <div id="browserchart" style="position: absolute; left: 350px; top: 600px; width: 500px;
        height: 500px">
       <script type="text/javascript">
           var render = 'browserchart';
           var title = 'User Browsers';
           var data = [<% foreach (var item in data2)
            {
                Response.Write(item);
                Response.Write(",");
            } %> ];
           $(document).ready(
   drawPieCharts(render, title, data)
 );
        </script>
    </div>
    <div id="resolutionchart" style="position: absolute; left: 350px; top: 1150px; width: 500px;
        height: 500px">
       <script type="text/javascript">
           var render = 'resolutionchart';
           var title = 'User Resolution';
           var data = [<% foreach (var item in data3)
            {
                Response.Write(item);
                Response.Write(",");
            } %> ];
           $(document).ready(
   drawPieCharts(render, title, data)
 );
        </script>
    </div>


</asp:Content>
